package com.woniuxy.cglibproxy;

import com.woniuxy.staticproxy.DiGer;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 22/03/28/0028 上午 11:52
 * @Component: 成都蜗牛学苑
 **/
public class TestCglibProxy {
    public static void main(String[] args) {
//        AtruManFather atruManFather = new AtruManFather();
        DiGer diGer = new DiGer();
        CglibProxyFactory cglibProxyFactory = new CglibProxyFactory();
        DiGer proxyObject = (DiGer) cglibProxyFactory.createProxyObject(diGer);
        proxyObject.hit();
    }
}
